<template>
  <div class="page-header col-xs-offset-2 col-xs-8">
    <h2>Vue路由测试</h2>
    <h4>当前路径为（读取了$route身上的path属性）：{{$route.path}}</h4>
  </div>
</template>

<script>
  export default {
    name:'Header',
    mounted() {
      console.log('Header',this)
    },
  }
</script>